<%= error_messages_for 'edition' %>

<!--[form:edition]-->
<p>
	<label for="edition_number">N&uacute;mero:</label>
	<%= text_field 'edition', 'number'  %>
</p>

<p>
	<label for="edition_date">Data:</label>
	<%= date_select 'edition', 'date'  %>
</p>

<p>
	<label for="edition_description">Descri&ccedil;&atilde;o:</label>
	<%= text_area 'edition', 'description'  %>
</p>

<p>
	<label for="edition_magazine_id">Revista:</label>
	<%= select('edition', 'magazine_id', @magazines)   %>
</p>
<!--[eoform:edition]-->

